LassoLite\Classes\Amazon_Api D

Total Complexity 136
Dependencies 7
Dependents 7
Total lines 1,259
Lines of code 902
Logical lines of code 313
Comment lines 261
Methods 31
Properties 0

Methods 31

Method Rating Maintainability Complexity Lines of code
get_amazon_product_url()
B
38 23 61
fetch_product_info()
B
40 17 53
update_amazon_product_in_db()
A
35 12 99
get_amazon_api_countries()
A
28
1 220
get_product_variation()
A
50 8 28
is_amazon_search_page()
S
56 7 15
extract_search_result_v5()
S
52 5 23
is_amazon_url()
S
56 5 19
get_amazon_product()
S
50 4 30
get_product_id_by_url()
S
58 5 13
query_amazon_v5()
S
57 4 17
search_product()
S
58 4 16
get_amazon_link_by_product_id()
S
57 4 16
get_aff_link_and_flag()
S
44 1 56
get_amazon_product_from_db()
S
54 3 21
build_price_with_currency_iso()
S
64 4 8
format_price()
S
68 4 7
aws_signed_request_v5()
S
49 2 30
get_redirect_url()
S
61 3 13
is_amazon_redirect_page()
S
69 3 6
get_currency_iso_from_price_text()
S
65 3 9
is_amazon_shortented_url()
S
71 3 5
get_domains()
S
53 1 26
get_product_variations_by_id_v5()
S
54 1 23
get_product_by_keyword_v5()
S
55 1 22
get_product_by_id_v5()
S
56 1 21
get_ignore_error_codes()
S
60 1 16
get_search_page_title()
S
64 2 10
is_same_domain()
S
62 2 10
get_amazon_tracking_id_by_url()
S
70 1 6
validate_tracking_id()
S
77 1 3